package com.dongdongshop.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {

    //跳转主页面
    @RequestMapping("index")
    public String index(){
        return "admin/index";
    }


    //登录页面
    @RequestMapping("login")
    public String login(){
        return "login";
    }
}
